package com.apchernykh.rozhlasapp.player;

import com.apchernykh.types.ApplicationModel.EPlaybackStatuses;
import com.apchernykh.types.DetailedUrl;
import com.apchernykh.types.StationInfo;

public interface IPlaybackService {
	void enableBackgroundPlayback();
	 void disableBackgroundPlayback();
	 void startPlayback(DetailedUrl iDetailedUrl);
	 void startPlayback(StationInfo iStationInfo) ;
	 DetailedUrl getExtendedPlaybackInfo();
	 void stopPlayback() ;
	 void reScheduleViewExpiration(long iNextRefresh);
	EPlaybackStatuses getPlaybackStatus();
	boolean isBackgroundEnabled();
	void cancelViewExpiration();
	void onLostFocus();
	void onReceivedFocus();
	void onPreferencesChanged(); 
}